package cn.sangedon.review.common.domain.analysis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("tb_trend_stastics")
@Data
public class TrendStastics {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 股票代码
     */
    @TableField(value = "stock_code")
    private String stockCode;

    /**
     * 股票名称
     */
    @TableField(value = "stock_name")
    private String stockName;

    /**
     * 交易日期-根据策略运行出来的结果日期
     */
    @TableField(value = "trade_date")
    private String tradeDate;

    /**
     * 涨跌幅
     */
    @TableField(value = "change_rate")
    private Double changeRate;

    /**
     * 周期，距今多少天的对比
     */
    @TableField(value = "cycle")
    private Integer cycle;
}
